/**
 * 提现管理 接口
 * 
 */
import request from '@/utils/request';
let api = {};
// 提现记录
api.cashoutList = function (data = {}) {
 return request({
   url: "/admin/cashout/index",
   method: "get",
   params: data 
 });
};
// 提现字典
api.dict = function (data = {}) {
 return request({
   url: "/admin/cashout/dict",
   method: "get",
   params: data 
 });
};
// 提现到账
api.rechargeFinish = function (data = {}) {
  return request({
    url: "/admin/cashout/finish",
    method: "post",
    data 
  });
 };

// 拒绝
api.rechargeCancel = function (data = {}) {
 return request({
   url: "/admin/cashout/cancel",
   method: "post",
   data 
 });
};

export default api;
